﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace JsonCodeGenerator
{
    /// <summary>
    /// 代码生成配置
    /// </summary>
    public class GeneratorConfig
    {
        /// <summary>
        /// 是否添加 JsonProperty 特性
        /// </summary>
        public bool IsJsonPropertyAttribute { get; set; }

        /// <summary>
        /// 是否添加 JsonPropertyName 特性
        /// </summary>
        public bool IsJsonPropertyNameAttribute { get; set; }

        /// <summary>
        /// 是否添加xml注释
        /// </summary>
        public bool IsXmlComment { get; set; }

        /// <summary>
        /// 小写转大写
        /// </summary>
        public bool IsTitleCase { get; set; }

        /// <summary>
        /// 转换驼峰命名
        /// </summary>
        public bool IsToCamelCase { get; set; }

        /// <summary>
        /// xml注释类型
        /// </summary>
        public CommentType CommentType { get; set; }
    }
}
